class PageAction(object):
    def __init__(self, title, url, method='GET', options={}, permission=None):
        self.title = title
        self.url = url
        self.method = method
        self.options = options
        self.permission = permission

    def __repr__(self):
        return "<PageAction title=%s url=%s method=%s permission=%s>" % (
            self.title, self.url, self.method, self.permission)

